import { myAjax } from '../utils/request';

export const getStaff = (param) => {
  const url = 'wxapi/common/goveListByDeptId';
  return myAjax(url, param);
};

export const checkComment = (param) => {
  const url = 'wxapi/common/checkComment';
  return myAjax(url, param);
};

export const staffComment = (param) => {
  const url = 'wxapi/common/commentGove';
  return myAjax(url, param, { method: 'post' });
};

export const departmentComment = (param) => {
  const url = 'wxapi/common/commentBusiness';
  return myAjax(url, param, { method: 'post' });
};


export default {
  getStaff,
  checkComment,
  staffComment,
  departmentComment,
};
